home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9796 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  797 b 

  1. Path: gwen.pcug.co.uk!news
  2. From: Andy <williams@template.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Inheritance vs Templates
  5. Date: 4 Mar 1996 15:44:05 GMT
  6. Organization: The PC User Group, UK
  7. Message-ID: <4hf345$bnp@gwen.pcug.co.uk>
  8. NNTP-Posting-Host: ak132.du.pipex.com
  9.  
  10. As a relative newcomer to C++(very relative) but an experienced
  11. OO programmer I'm having some problems seeing the place
  12. of Templates over the use of Polymorphism and inheritance.
  13.  
  14. It seems that templates do nothing extra (except efficiency ?)
  15. that could not be achieved using inheritance, and it seems that 
  16. inheritance is a more elegant approach?
  17.  
  18. Am I  completely missing the point? Any explanations would
  19. be warmly received.
  20.  
  21. Please mail directly at
  22.      andy@template.win-uk.net
  23.  
  24.  
  25. Many Thanks
  26.  
  27.                  Andy Williams
  28.